﻿#ifndef QGEOTILEDMAPPINGMANAGERENGINECUSTOM_H
#define QGEOTILEDMAPPINGMANAGERENGINECUSTOM_H

#include <QtLocation/QGeoServiceProvider>
#include <QtLocation/private/qgeotiledmap_p.h>
#include <QtLocation/private/qgeotiledmappingmanagerengine_p.h>

// QGC: class QGeoTiledMapQGC : public QGeoTiledMap

class QGeoTiledMappingManagerEngineCustom : public QGeoTiledMappingManagerEngine
{
    Q_OBJECT
public:
    QGeoTiledMappingManagerEngineCustom(const QVariantMap &parameters, QGeoServiceProvider::Error *error, QString *errorString);
    ~QGeoTiledMappingManagerEngineCustom() = default;
    QGeoMap *createMap();

private:
    void _setCache(const QVariantMap &parameters);
};

#endif // QGEOTILEDMAPPINGMANAGERENGINECUSTOM_H
